package com.example.comment.base.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author QingZeyu
 * @date 2024/5/7 14:44
 */
@Data
public class LikeDTO implements Serializable {
    @NotNull(message = "评论id不能为空！")
    @ApiModelProperty(value = "评论id")
    private Long commentId;

    @NotNull(message = "用户id不能为空！")
    @ApiModelProperty(value = "用户id")
    private Long userId;

    @NotNull(message = "关联id不能为空！")
    @ApiModelProperty(value = "关联id")
    private Long referenceId;
}
